package cjy.javatest.observer;

public interface Observer {
    // Update the observer with the new state of the subject
    void update(int state);

    // Get the name of the observer
    String getName();
}
